import 'package:flutter/material.dart';
import 'package:get/get.dart';

import '../../../../components/bottom10/tabIcon_data.dart';

class Bottom10Controller extends GetxController {
  RxInt pageIndex = 0.obs;

  /// 图标
  final List<TabIconData> iconList = TabIconData.tabIconsList;

  @override
  void onInit() {
    super.onInit();
  }

  @override
  void onReady() {
    super.onReady();
  }

  @override
  void onClose() {
    super.onClose();
  }

  void onClickBottomBar(int index) {
    debugPrint('longer   点击了 >>> $index');
    pageIndex.value = index;
  }
}
